package com.tender.dtos;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
public class IndexOrderPureDTO {
    @Schema(description = "提单号")
    private String billNo;

    @Schema(description = "箱号")
    private String unitNo;

    @Schema(description = "船航次ID")
    private String shipVisitId;

    @Schema(description = "进出口")
    private String impExpMark;

    @Schema(description = "箱ID/箱贞")
    private String unitVisitId;

    @Schema(description = "预计到港时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date eta;

    @Schema(description = "确报到港时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dta;

    @Schema(description = "实际靠泊时间 / 实际到港时间 / 船舶靠泊时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date rtb;

    // --------------------------------- 出口 --------------- start ------------------
    @Schema(description = "实际离港时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date rtd;

    @Schema(description = "预计离港时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date etd;

    @Schema(description = "出口航次")
    private String exVoyage;
    // --------------------------------- 出口 --------------- end ------------------

    @Schema(description = "上一港")
    private String lastPortCode;

    @Schema(description = "上一港名称")
    private String lastPortName;

    @Schema(description = "下一港")
    private String nextPortCode;

    @Schema(description = "下一港名称")
    private String nextPortName;

    @Schema(description = "装货港代码")
    private String polCode;

    @Schema(description = "装货港名称")
    private String polName;

    @Schema(description = "卸货港代码")
    private String podCode;

    @Schema(description = "卸货港名称")
    private String podName;

    @Schema(description = "目的港代码")
    private String finalPodCode;

    @Schema(description = "目的港名称")
    private String finalPodName;

    @Schema(description = "中文船名")
    private String shipName;

    @Schema(description = "进口航次")
    private String imVoyage;

    @Schema(description = "mmsi")
    private String mmsi;

}
